
<!-- 头部 -->
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8" />
        <meta name="renderer" content="webkit">

        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>固管家服务平台</title>

        <meta name="description" content="index" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

        <!-- bootstrap & fontawesome -->
        <link rel="stylesheet" href="../../../static/bootstrap/bootstrap.min.css" />
        <link rel="stylesheet" href="../../../static/css/font-awesome.min.css" />

        <link rel="stylesheet" href="../../../static/chosen/chosen.min.css" />

        <!-- ace styles -->
        <link rel="stylesheet" href="../../../static/ace/css/ace.min.css" id="main-ace-style" />

        <!--[if lte IE 9]>
        <link rel="stylesheet" href="../../../static/ace/css/ace-part2.min.css" />
        <![endif]-->
        <link rel="stylesheet" href="../../../static/ace/css/ace-skins.min.css" />
        <link rel="stylesheet" href="../../../static/ace/css/ace-rtl.min.css" />

        <!--[if lte IE 9]>
        <link rel="stylesheet" href="../../../static/ace/css/ace-ie.min.css" />
        <![endif]-->

        <link rel="stylesheet" href="../../../static/ztree/metro.css" />
        <link rel="stylesheet" href="../../../static/validate/css/validform.css" />
        <link rel="stylesheet" href="../../../static/css/custom.css" />

        <!--[if !IE]> -->
        <script src="../../../static/jquery/jquery.js"></script>
        <!-- <![endif]-->

        <!--[if IE]>
        <script src="../../../static/jquery/jquery-1.11.1.min.js"></script>
        <![endif]-->


        <!-- ace settings handler -->
        <script src="../../../static/ace/js/ace-extra.min.js"></script>

        <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

        <!--[if lte IE 8]>
        <script src="../../../static/bootstrap/html5shiv.min.js"></script>
        <script src="../../../static/bootstrap/respond.min.js"></script>
        <script>var ie8 = "ie8";</script>
        <![endif]-->
    </head>

    <body class="no-skin" id="body-content">
        <!-- 顶部条 -->
        <div id="navbar" class="navbar navbar-default">
            <script type="text/javascript">
                try{ace.settings.check('navbar' , 'fixed')}catch(e){}
            </script>

            <div class="navbar-container clearfix" id="navbar-container">
                <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler">
                    <span class="sr-only">Toggle sidebar</span>

                    <span class="icon-bar"></span>

                    <span class="icon-bar"></span>

                    <span class="icon-bar"></span>
                </button>

                <div class="navbar-header pull-left" style="min-width:190px;">
                    <a  class="navbar-brand">
                        <small>
                            固管家服务平台
                        </small>
                    </a>
                </div>
                <!-- <div class="navbar-header">
                    <ul class="nav navbar-nav">
                        <li class="">
                            <a  data-trigger="ajax" data-target="#fill-main-content" class="bigger-120">
                            <i class="menu-icon fa "></i>&nbsp;
                            </a>
                        </li>
                    </ul>
                </div> -->

                <div class="navbar-buttons navbar-header pull-right" role="navigation">
                    <ul class="nav ace-nav">

                        <li class="green">
                            <a class="dropdown-toggle" href="javascript:void(0);" id="fullscreen" title="全屏"
                               onclick="launchFullscreen(document.documentElement);">
                                <i class="ace-icon fa fa-arrows-alt "></i>
                            </a>
                        </li>

                        <li class="purple" style="display:none;">
                            <a data-toggle="dropdown" class="dropdown-toggle" >
                                <i class="ace-icon fa fa-bell icon-animated-bell"></i>
                                <span class="badge badge-important">8</span>
                            </a>

                            <ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                                <li class="dropdown-header">
                                    <i class="ace-icon fa fa-exclamation-triangle"></i>
                                    8 Notifications
                                </li>

                                <li>
                                    <a >
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-pink fa fa-comment"></i>
                                                New Comments
                                            </span>
                                            <span class="pull-right badge badge-info">+12</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a >
                                        <i class="btn btn-xs btn-primary fa fa-user"></i>
                                        Bob just signed up as an editor ...
                                    </a>
                                </li>

                                <li>
                                    <a >
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-success fa fa-shopping-cart"></i>
                                                New Orders
                                            </span>
                                            <span class="pull-right badge badge-success">+8</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a >
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-info fa fa-twitter"></i>
                                                Followers
                                            </span>
                                            <span class="pull-right badge badge-info">+11</span>
                                        </div>
                                    </a>
                                </li>

                                <li class="dropdown-footer">
                                    <a >
                                        See all notifications
                                        <i class="ace-icon fa fa-arrow-right"></i>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="light-blue">
                            <a data-toggle="dropdown"  class="dropdown-toggle">
                                <img class="nav-user-photo" src="../../../static/img/small-male-pic.png" />
                                <span class="user-info">
                                    <small>你好,</small>
                                    超级管理员
                                </span>

                                <i class="ace-icon fa fa-caret-down"></i>
                            </a>

                            <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                                <li>
                                    <a href="../userCenter/userCenter.html">
                                        <i class="ace-icon fa fa-user"></i>
                                        我的资料
                                    </a>
                                </li>

                                <li class="divider"></li>

                                <li>
                                    <a href="../../../login.html">
                                        <i class="ace-icon fa fa-power-off"></i>
                                        退出
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div><!-- /.navbar-container -->
        </div>
        <!-- 主体 -->
        <div class="main-container" id="main-container">
            <script type="text/javascript">
                try{ace.settings.check('main-container' , 'fixed')}catch(e){}
            </script>


            <div id="sidebar" class="sidebar responsive">
                <script type="text/javascript">
                    try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
                </script>

                <div class="sidebar-shortcuts" id="sidebar-shortcuts">
                    <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                        <button class="btn btn-success">
                            <i class="ace-icon fa fa-signal"></i>
                        </button>

                        <button class="btn btn-info">
                            <i class="ace-icon fa fa-pencil"></i>
                        </button>

                        <button class="btn btn-warning">
                            <i class="ace-icon fa fa-users"></i>
                        </button>

                        <button class="btn btn-danger">
                            <i class="ace-icon fa fa-cogs"></i>
                        </button>
                    </div>

                    <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                        <span class="btn btn-success"></span>

                        <span class="btn btn-info"></span>

                        <span class="btn btn-warning"></span>

                        <span class="btn btn-danger"></span>
                    </div>
                </div><!-- /.sidebar-shortcuts -->

                <ul class="nav nav-list" id="sidebar-menu">
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-user"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 个人中心 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../userCenter/userCenter.html"
                                        id="menu_manageruserCenter"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-file-o"></i>
                                    <span class="menu-text"
                                    > 我的资料 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-lastfm"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 单位管理 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../office/office-detail.html"
                                        id="menu_managercompanydetail"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 单位信息 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../user/user.html"
                                        id="menu_managercompanyaccounts"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 单位账号 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../work/company/work.html"
                                        id="menu_managercompanywork"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 电子台账 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-puzzle-piece"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 业务管理 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../work/admin/work.html"
                                        id="menu_manageradminwork"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 电子台账 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../qualification/index.html"
                                        id="menu_managerqualificationindex"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 资质审核 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="index.html"
                                        id="menu_managerdemandindex"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 服务需求 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../examine/index.html"
                                        id="menu_managerexamineindex"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > 考核管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../app/index.html"
                                        id="menu_managerappindex"
                                        haschild="false"
                                >
                                    <i class="menu-icon "></i>
                                    <span class="menu-text"
                                    > APP管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../statute/index.html"
                                        id="menu_managerstatuteindex"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-bolt"></i>
                                    <span class="menu-text"
                                    > 法律法规 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-group"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 机构用户 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../area/area.html"
                                        id="menu_managerarea"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-globe"></i>
                                    <span class="menu-text"
                                    > 区域管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../office/office.html"
                                        id="menu_manageroffice"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-sitemap"></i>
                                    <span class="menu-text"
                                    > 机构管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../user/user-list.html"
                                        id="menu_managersysuser"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-user"></i>
                                    <span class="menu-text"
                                    > 用户管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../role/role.html"
                                        id="menu_managerrole"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-graduation-cap"></i>
                                    <span class="menu-text"
                                    > 角色管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-cogs"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 系统管理 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../menu/menu.html"
                                        id="menu_managermenu"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-list"></i>
                                    <span class="menu-text"
                                    > 菜单配置 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../dict/dict.html"
                                        id="menu_managerdict"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-calculator"></i>
                                    <span class="menu-text"
                                    > 字典管理 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../log/log.html"
                                        id="menu_managersyslog"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-copy"></i>
                                    <span class="menu-text"
                                    > 日志查询 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                    <li data-level="1">

                        <a
                                href="javascript:void(0);" class="dropdown-toggle"
                                haschild="true"
                        >
                            <i class="menu-icon fa fa-binoculars"></i>
                            <span class="menu-text"
                                  style="vertical-align: middle;"
                            > 系统监控 </span>
                            <b class="arrow fa fa-angle-down"></b>
                        </a>
                        <b class="arrow"></b>

                        <ul class="submenu nav-hide" style="display:none;">
                            <li data-level="2">

                                <a
                                        href="../ehcache/ehcache.html"
                                        id="menu_managermonitorehcache"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-crosshairs"></i>
                                    <span class="menu-text"
                                    > Ehcache监控 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                            <li data-level="2">

                                <a
                                        href="../jvm/jvm.html"
                                        id="menu_managermonitorjvm"
                                        haschild="false"
                                >
                                    <i class="menu-icon fa fa-flash"></i>
                                    <span class="menu-text"
                                    > jvm监控 </span>
                                </a>
                                <b class="arrow"></b>

                            </li>
                        </ul>
                    </li>
                </ul><!-- /.nav-list -->
                <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
                    <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
                </div>

                <script type="text/javascript">
                    try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
                </script>
            </div>


            <div class="main-content">
                <div class="breadcrumbs" id="breadcrumbs">
                    <script type="text/javascript">
                        try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
                    </script>

                    <ul class="tab" id="breadcrumb">
                        <!-- <li class="active" >
                       菜单配置<i class="fa fa-times close"></i>
                       </li>  -->
                    </ul><!-- /.breadcrumb -->
                    <div id="tab-menu">
                        <ul class="dropdown-menu dropdown-caret" style="min-width: 0px;">
                            <li><a href="javascript:void(0);" data-right-menu="all_close">全部关闭</a></li>
                            <li><a href="javascript:void(0);" data-right-menu="other_close">关闭其他</a></li>
                        </ul>
                    </div>
                </div>

                <div class="page-content">
                    <div class="ace-settings-container" id="ace-settings-container">
                        <div class="btn btn-app btn-xs btn-warning ace-settings-btn"
                             id="ace-settings-btn">
                            <i class="ace-icon fa fa-cog bigger-150"></i>
                        </div>

                        <div class="ace-settings-box clearfix" id="ace-settings-box">
                            <div class="pull-left width-50">
                                <div class="ace-settings-item">
                                    <div class="pull-left">
                                        <select id="skin-colorpicker" class="hide">
                                            <option data-skin="no-skin" value="#438EB9">#438EB9</option>
                                            <option data-skin="skin-1" value="#222A2D">#222A2D</option>
                                            <option data-skin="skin-2" value="#C6487E">#C6487E</option>
                                            <option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
                                        </select>
                                    </div>
                                    <span>&nbsp; 皮肤</span>
                                </div>

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-navbar" /> <label class="lbl"
                                                                              for="ace-settings-navbar"> 固定页头</label>
                                </div>

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-sidebar" /> <label class="lbl"
                                                                               for="ace-settings-sidebar"> 固定导航菜单</label>
                                </div>

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-breadcrumbs" /> <label class="lbl"
                                                                                   for="ace-settings-breadcrumbs"> 固定导航条</label>
                                </div>

                                <!-- <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                        id="ace-settings-rtl" /> <label class="lbl" for="ace-settings-rtl">
                                        Right To Left (rtl)</label>
                                </div> -->

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-add-container" /> <label class="lbl"
                                                                                     for="ace-settings-add-container"> 固定宽度
                                </label>
                                </div>
                            </div>
                            <!-- /.pull-left -->

                            <div class="pull-left width-50">
                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-hover" /> <label class="lbl"
                                                                             for="ace-settings-hover"> 滑动式菜单</label>
                                </div>

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-compact" /> <label class="lbl"
                                                                               for="ace-settings-compact"> 紧凑式菜单</label>
                                </div>

                                <div class="ace-settings-item">
                                    <input type="checkbox" class="ace ace-checkbox-2"
                                           id="ace-settings-highlight" /> <label class="lbl"
                                                                                 for="ace-settings-highlight"> 高亮选中</label>
                                </div>
                            </div>
                            <!-- /.pull-left -->
                        </div>
                        <!-- /.ace-settings-box -->
                    </div>
                    <!-- /.ace-settings-container -->
                    <div class="page-header">
                        <h1> 请选择 </h1>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <div id="fill-main-content" style="height:100%">
                                <div class="xuboxPageHtml" id="xboxTest" style="overflow-y: auto; height: 328px;"><script>
                                    var key, lastValue = "", nodeList = [];
                                    var treeselectidtree, treeselectidsetting = {
                                        view:{selectedMulti:false,expandSpeed:100},
                                        check:{enable:false,nocheckInherit:true},
                                        data:{
                                            simpleData:{
                                                enable:true,
                                                idKey:"id",
                                                pIdKey:"parentId"
                                            },
                                            key:{url:"abcd11"}
                                        },
                                        view:{
                                            fontCss:function(treeId, treeNode) {
                                                return (!!treeNode.highlight) ? {"font-weight":"bold","color":"red"} : {"font-weight":"normal","color":"#333"};
                                            }
                                        },
                                        callback:{
                                            beforeClick:function(id, node){
                                                if("false" == "true"){
                                                    treeselectidtree.checkNode(node, !node.checked, true, true);
                                                    return false;
                                                }
                                            }
                                        }
                                    };
                                    $(document).ready(function(){
                                        $.post("/guguanjia/manager/menu/tree", function(zNodes){
                                            var rootName = '全部';
                                            var root = {id:0,name:rootName,open:true};
                                            zNodes[zNodes.length] = root;
                                            // 初始化树结构
                                            treeselectidtree = $.fn.zTree.init($("#select-tree"), treeselectidsetting, zNodes);

                                            // 默认展开一级节点
                                            var nodes = treeselectidtree.getNodesByParam("level", 0);
                                            for(var i=0; i<nodes.length; i++) {
                                                treeselectidtree.expandNode(nodes[i], true, false, false);
                                            }
                                            // 默认选择节点
                                            var ids = "232".replace('[','').replace(']','').split(",");
                                            for(var i=0; i<ids.length; i++) {
                                                var node = treeselectidtree.getNodeByParam("id", ids[i]);
                                                if("false" == "true"){
                                                    try{treeselectidtree.checkNode(node, true, false);}catch(e){}
                                                    treeselectidtree.expandNode(node, true, false, false);
                                                }else{
                                                    treeselectidtree.selectNode(node, true);
                                                }
                                            }

                                        });
                                        key = $("#key");
                                        key.bind("focus", focusKey).bind("blur", blurKey)
                                            .bind("change keydown cut input propertychange", searchNode);
                                        $("#treeselectid-save").click(function(){
                                            node = treeselectidtree.getSelectedNodes()[0];
                                            if(undefined == node || null == node){
                                                tip.errorTip("请选择一个节点",$("#select-tree"));
                                                return false;
                                            }
                                            if("233" == node.id){
                                                tip.errorTip("不能选择自己",$("#select-tree"));
                                                return false;
                                            }
                                            if(node.id == 0){
                                                node['name']="";
                                            }
                                            $("#treeselectname").val(node.name);
                                            $("#treeselectid").val(node["id"]);
                                            if("233" != -1){
                                                $("input[name='parentIds']").val(node.parentIds);
                                            }
                                            layer.close(lastIndex);
                                            layer.close(layer.index);
                                        });
                                    });

                                    function getCheckbox(tree){
                                        var ids = [], nodes = tree.getCheckedNodes(true);
                                        for(var i=0; i<nodes.length; i++) {
                                            var id = nodes[i]["id"];
                                            if(id != 0) ids.push(id);
                                        }
                                        return ids;
                                    }

                                    function focusKey(e) {
                                        if (key.hasClass("empty")) {
                                            key.removeClass("empty");
                                        }
                                    };
                                    function blurKey(e) {
                                        if (key.get(0).value === "") {
                                            key.addClass("empty");
                                        }
                                        searchNode(e);
                                    };
                                    function searchNode(e) {
                                        // 取得输入的关键字的值
                                        var value = $.trim(key.get(0).value);

                                        // 按名字查询
                                        var keyType = "name";
                                        if (key.hasClass("empty")) {
                                            value = "";
                                        }

                                        // 如果和上次一次，就退出不查了。
                                        if (lastValue === value) {
                                            return;
                                        }

                                        // 保存最后一次
                                        lastValue = value;

                                        // 如果要查空字串，就退出不查了。
                                        if (value === "") {
                                            return;
                                        }
                                        updateNodes(false);
                                        nodeList = treeselectidtree.getNodesByParamFuzzy(keyType, value);
                                        updateNodes(true);
                                    };
                                    function updateNodes(highlight) {
                                        for(var i=0, l=nodeList.length; i<l; i++) {
                                            nodeList[i].highlight = highlight;
                                            treeselectidtree.updateNode(nodeList[i]);
                                            treeselectidtree.expandNode(nodeList[i].getParentNode(), true, false, false);
                                        }
                                    };
                                </script>
                                    <div>
                                        <div id="search" class="control-group" style="padding:10px 0 0 15px;">
                                            <label for="key" class="control-label" style="float:left;padding:5px 5px 3px;">关键字：</label>
                                            <input type="text" class="empty" id="key" name="key" maxlength="50" style="width:75%;">
                                        </div>
                                        <ul id="select-tree" class="ztree" style="padding:15px 20px;"><li id="select-tree_1" class="level0" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_1_switch" title="" class="button level0 switch root_open" treenode_switch=""></span><a id="select-tree_1_a" class="level0" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="全部"><span id="select-tree_1_ico" title="" treenode_ico="" class="button ico_open" style=""></span><span id="select-tree_1_span">全部</span></a><ul id="select-tree_1_ul" class="level0 " style="display:block"><li id="select-tree_2" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_2_switch" title="" class="button level1 switch center_close" treenode_switch=""></span><a id="select-tree_2_a" class="level1" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="个人中心"><span id="select-tree_2_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-user" style=""></span><span id="select-tree_2_span">个人中心</span></a></li><li id="select-tree_4" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_4_switch" title="" class="button level1 switch center_close" treenode_switch=""></span><a id="select-tree_4_a" class="level1" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="单位管理"><span id="select-tree_4_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-lastfm" style=""></span><span id="select-tree_4_span">单位管理</span></a></li><li id="select-tree_8" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_8_switch" title="" class="button level1 switch center_close" treenode_switch=""></span><a id="select-tree_8_a" class="level1 curSelectedNode" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="业务管理"><span id="select-tree_8_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-puzzle-piece" style=""></span><span id="select-tree_8_span">业务管理</span></a></li><li id="select-tree_15" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_15_switch" title="" class="button level1 switch center_close" treenode_switch=""></span><a id="select-tree_15_a" class="level1" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="机构用户"><span id="select-tree_15_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-group" style=""></span><span id="select-tree_15_span">机构用户</span></a></li><li id="select-tree_21" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_21_switch" title="" class="button level1 switch center_close" treenode_switch=""></span><a id="select-tree_21_a" class="level1" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="系统管理"><span id="select-tree_21_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-cogs" style=""></span><span id="select-tree_21_span">系统管理</span></a></li><li id="select-tree_25" class="level1" tabindex="0" hidefocus="true" treenode=""><span id="select-tree_25_switch" title="" class="button level1 switch bottom_close" treenode_switch=""></span><a id="select-tree_25_a" class="level1" treenode_a="" onclick="" target="_blank" style="font-weight:normal;color:#333;" title="系统监控"><span id="select-tree_25_ico" title="" treenode_ico="" class="button cusicon ace-icon ico fa fa-binoculars" style=""></span><span id="select-tree_25_span">系统监控</span></a></li></ul></li></ul>
                                        <div class="width-100" tag-save-btn="" style="padding-top: 15px; bottom: -36px; position: absolute;">
                                            <span class="btn btn-primary btn-sm bigger-110 btn-block" id="treeselectid-save">
                                                确 定
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div><!-- /.page-content -->

            </div><!-- /.main-content -->

            <a href="javascript:void(0);" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"  style="z-index:1111">
                <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
            </a>
        </div><!-- /.main-container -->

        <!-- 底部 -->
        <!-- basic scripts -->

        <!--[if !IE]> -->
        <script src="../../../static/jquery/jquery.js"></script>
        <!-- <![endif]-->

        <!--[if IE]>
        <script src="../../../static/jquery/jquery-1.11.1.min.js"></script>
        <![endif]-->

        <script type="text/javascript">
            if('ontouchstart' in document.documentElement) document.write("<script src='../../../static/jquery.mobile.custom.min.js'>"+"<"+"/script>");
        </script>
        <script src="../../../static/bootstrap/bootstrap.min.js"></script>

        <!-- ace scripts -->
        <script src="../../../static/ace/js/ace-elements.min.js"></script>
        <script src="../../../static/ace/js/ace.min.js"></script>

        <script type="text/javascript">
            var ctxPath = "../../..";
            window.onload=function(){
                /* $("#ace-settings-navbar").trigger("click");//固定头部导航栏
                $("#ace-settings-sidebar").trigger("click");//固定左侧菜单
                $("#ace-settings-highlight").trigger("click"); */
            };
        </script>

        <!-- 引入其他js -->
        <script src="../../../static/js/history.js"></script>
        <script type="text/javascript" src="../../../static/layer/layer.js"></script>
        <script type="text/javascript" src="../../../static/js/spin.min.js"></script>
        <script type="text/javascript" src="../../../static/ztree/jquery.ztree.all-3.5.min.js"></script>
        <script type="text/javascript" src="../../../static/js/jquery.autosize.min.js"></script>
        <script type="text/javascript" src="../../../static/chosen/chosen.jquery.min.js"></script>
        <script type="text/javascript" src="../../../static/validate/Validform_v5.3.2_min.js"></script>
        <script type="text/javascript" src="../../../static/js/jquery.form.js"></script>
        <script type="text/javascript" src="../../../static/js/bootstrap-contextmenu.js"></script>
        <script type="text/javascript" src="../../../static/js/jquery.nicescroll.min.js"></script>
        <script type="text/javascript" src="../../../static/js/public.js"></script>


    </body>
</html>
